package com.multi.thread.chapter03.demo01;

public class Run {
	
	//notify()方法执行后并不立即释放锁
	public static void main(String[] args) throws InterruptedException {
		Object lock = new Object();
		ThreadA a = new ThreadA(lock);
		a.start();
		
		Thread.sleep(50);
		
		ThreadB b = new ThreadB(lock);
		b.start();
	}

}
